<template>
  <div class="copyright">
    ©&nbsp;
    {{thisYear}}&nbsp;
    <router-link to="#">{{companyInfo.companyName}}</router-link>&nbsp;
    <!-- companyInfo.companyType {{}} 公司类型-->
  </div>
</template>

<script>
export default {
  computed: {
    thisYear() {
      return new Date().getFullYear();
    },
    companyInfo() {
      return this.$store.getters.companyInfo;
    }
  }
};
</script>

<style>
@media screen and (min-width: 400px) {
  .copyright {
    display: inline-block;
  }
}
</style>

